package com.szh.consumer;


import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableRabbit
@Slf4j
public class MQConsumer {
    public static void main(String[] args) {
        SpringApplication.run(MQConsumer.class,args);
        log.error("EnableRabbit --- run ----");
    }
}
